﻿<UserControl x:Class="ThuPhap.Controls.ColorPickerControl"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    xmlns:c4fToolkit="clr-namespace:Coding4Fun.Phone.Controls;assembly=Coding4Fun.Phone.Controls"
    d:DesignHeight="480" d:DesignWidth="480" Width="480" Height="520">
    
    <UserControl.Resources>
            
    </UserControl.Resources>
    <Grid x:Name="LayoutRoot" Background="{StaticResource PhoneChromeBrush}" Margin="0,20,0,0">
        <Grid.RowDefinitions>
            <RowDefinition Height="40"/>
            <RowDefinition Height="auto"/>
            <RowDefinition Height="10*" />
        </Grid.RowDefinitions>
        <TextBlock Text="Choose color" FontSize="25" FontWeight="Bold" Margin="20,0,0,0"/>
        <c4fToolkit:ColorPicker x:Name="ColorPicker" Grid.Row="1" Width="450" Height="450" Margin="0" Style="{StaticResource customStyle}"></c4fToolkit:ColorPicker>
        <Button Content="OK" Width="100" Grid.RowSpan="2" Height="72" HorizontalAlignment="Left" Margin="365,390,0,0" Name="OKButton" VerticalAlignment="Top" Grid.Row="1" Click="OKButton_Click" />
    </Grid>
</UserControl>
